<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">


<h:head>
<h:title>Home</h:title>
</h:head>
<p:panel header="#{userBean.name()} home page" footer="User home page">
	<h:body>
        Select where you want to go: <br />
        <h:panelGrid>
        <h:link outcome="packages" value="Display last offers " /> 
        <h:link outcome="userBookings" value="Display my bookings" />
        </h:panelGrid>
        <h:form>
        <p:commandButton action="#{logoutBean.logout()}" value="Logout" />
        </h:form>
    </h:body>
</p:panel>
</html>